home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / clock.z / clock
Encoding:
Text File  |  1998-10-30  |  2.3 KB  |  59 lines

  1. CLOCK(3I)                                              Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      CCLLOOCCKK - Returns the current time
  6.  
  7. SSYYNNOOPPSSIISS
  8.      EEXXTTEERRNNAALL CCLLOOCCKK
  9.      CCAALLLL CCLLOOCCKK ((_t_i_m_e))
  10.  
  11.      IINNTTRRIINNSSIICC CCLLOOCCKK
  12.      CCLLOOCCKK (())
  13.  
  14. IIMMPPLLEEMMEENNTTAATTIIOONN
  15.      UNICOS, UNICOS/mk, and IRIX systems
  16.  
  17. SSTTAANNDDAARRDDSS
  18.      CF90 and MIPSpro 7 Fortran 90 compiler extension to Fortran 90
  19.  
  20. DDEESSCCRRIIPPTTIIOONN
  21.      CCLLOOCCKK obtains the current time, in ASCII _h_h::_m_m::_s_s format, from the
  22.      real-time clock.
  23.  
  24.      As an intrinsic function, CCLLOOCCKK accepts no arguments.  The name of
  25.      this intrinsic cannot be passed as an argument.
  26.  
  27.      The following argument is valid when CCLLOOCCKK is called as an external
  28.      subprogram:
  29.  
  30.      _t_i_m_e A variable containing the time in _h_h:_m_m:_s_s format.  The data type
  31.           of _t_i_m_e depends on your platform, as follows:
  32.  
  33.           * On UNICOS or UNICOS/mk systems, it must be of type integer,
  34.             CCHHAARRAACCTTEERR**88, or real.  If _t_i_m_e is of type integer or real, it
  35.             must be of KKIINNDD==88.
  36.  
  37.           * On IRIX systems, it must be declared as type CCHHAARRAACCTTEERR**88.
  38.  
  39. RREETTUURRNN VVAALLUUEESS
  40.      When called as an intrinsic function, the data type of the return
  41.      value depends on your platform.  On UNICOS and UNICOS/mk systems, the
  42.      return value is of type Boolean.  On IRIX systems, it is of type
  43.      CCHHAARRAACCTTEERR**88.
  44.  
  45. NNOOTTEESS
  46.      For Fortran 90 programs, the CCLLOOCCKK intrinsic function is outmoded.
  47.      Refer to the _F_o_r_t_r_a_n _L_a_n_g_u_a_g_e _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, _V_o_l_u_m_e _3, publication
  48.      SR-3905, for information on outmoded features and their preferred
  49.      standard alternatives.
  50.  
  51.      On IRIX systems, you can use either the intrinsic function form or the
  52.      external subprogram form, but not both, in a single processing unit
  53.      (PU).
  54.  
  55. SSEEEE AALLSSOO
  56.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  57.      printed version of this man page.
  58.  
  59.